<template>
<div id="app">
  <router-view/>
</div>
</template>

<script>
import {onMounted} from "vue";
import {useRouter} from "vue-router";
import {getCookie} from "./utils/cookies";

export default {
  name: 'App',
  setup(){
    const router = useRouter();
    // onMounted(()=>{
    //   let token = getCookie("token");
    //   if (token===""){
    //     router.replace({
    //       path:'/login'
    //     })
    //   }
    //
    // })
  }

  }


</script>

<style>
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}
#app{
  position: absolute;
  width: 100%;
  height: 100%;
  /*min-width: 1745.45px;*/
}
body,html{
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
}

</style>

